package cn.exrick.xboot.modules.transport.mapper;

import cn.exrick.xboot.modules.transport.param.QueryCompanyDepositDetailsParam;
import cn.exrick.xboot.modules.transport.vo.CompanyDepositDetailsVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.exrick.xboot.modules.transport.entity.CompanyDepositDetails;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 物流公司抵押金明细信息数据处理层
 * @author gj
 */
public interface CompanyDepositDetailsMapper extends BaseMapper<CompanyDepositDetails> {

    CompanyDepositDetailsVo getDepositDetailsById(@Param("id") Long id);

    IPage<CompanyDepositDetailsVo> getByCondition(@Param("page") Page page,@Param("param") QueryCompanyDepositDetailsParam param);
}